package com.parking.mgr.common.exception;

import com.parking.mgr.common.exception.enums.IBaseExceptionEnum;
import lombok.EqualsAndHashCode;

/**
 * @ClassName LoginAuthException
 * @Description TODO
 * @author: zhijianpu
 * @Date: 2025/2/28
 */
@EqualsAndHashCode(callSuper = true)
public class LoginAuthException extends BaseException {

    public LoginAuthException(String errorMessage) {
        super(errorMessage);
    }

    public LoginAuthException(Integer code, String errorMessage) {
        super(code, errorMessage);
    }

    public LoginAuthException(IBaseExceptionEnum exception) {
        super(exception.getCode(), exception.getMessage());
    }

}
